// 1 为输入框input
// 2 为下拉选择select  21 多选下拉框
// 3 为日期选择框  31 日期范围
// 4 为多行文本输入textarea
export const allFields = [
  { fieldName: 'idCard', fieldTxt: '公民身份号码', placeholder: '请输入公民身份号码', UiType: 1, must: true },
  { fieldName: 'personName', fieldTxt: '姓名', placeholder: '请输入姓名', UiType: 1, must: true },
  { fieldName: 'personNameUsed', fieldTxt: '曾用名', placeholder: '请输入曾用名', UiType: 1 },
  { fieldName: 'sex', fieldTxt: '性别', placeholder: '请选择性别', UiType: 2, must: true },
  { fieldName: 'birthDate', fieldTxt: '出生日期', placeholder: '请选择出生日期', UiType: 3, must: true },
  { fieldName: 'nation', fieldTxt: '民族', placeholder: '请选择民族', UiType: 2, must: true },
  { fieldName: 'nativePlace', fieldTxt: '籍贯', placeholder: '请输入籍贯', UiType: 1, must: true },
  { fieldName: 'maritalStatus', fieldTxt: '婚姻状况', placeholder: '请选择婚姻状况', UiType: 2, must: true },
  { fieldName: 'politicalStatus', fieldTxt: '政治面貌', placeholder: '请选择政治面貌', UiType: 2 },
  { fieldName: 'educationLevel', fieldTxt: '文化程度', placeholder: '请选择文化程度', UiType: 2, must: true },
  { fieldName: 'faith', fieldTxt: '宗教信仰', placeholder: '请选择宗教信仰', UiType: 2 },
  { fieldName: 'professionType', fieldTxt: '职业类别', placeholder: '请输入职业类别', UiType: 1 },
  { fieldName: 'profession', fieldTxt: '职业', placeholder: '请输入职业', UiType: 1 },
  { fieldName: 'contact', fieldTxt: '联系方式', placeholder: '请输入联系方式', UiType: 1, must: true },
  { fieldName: 'workContact', fieldTxt: '单位联系方式', placeholder: '请输入单位联系方式', UiType: 1 },
  { fieldName: 'serviceSpace', fieldTxt: '服务处所', placeholder: '请输入服务处所', UiType: 4 },
  { fieldName: 'householdRegister', fieldTxt: '户籍地', placeholder: '请输入户籍地', UiType: 1, must: true },
  { fieldName: 'householdRegisterAddress', fieldTxt: '户籍门（楼）详址', placeholder: '请输入户籍门（楼）详址', UiType: 4, must: true },
  { fieldName: 'currentResidence', fieldTxt: '现住地', placeholder: '请输入现住地', UiType: 1, must: true },
  { fieldName: 'currentAddress', fieldTxt: '现住门（楼）详址', placeholder: '请输入现住门（楼）详址', UiType: 4, must: true },
  { fieldName: 'dangerLevel', fieldTxt: '危害程度', placeholder: '请选择危害程度', UiType: 2, must: true },
  { fieldName: 'attention', fieldTxt: '是否关注', placeholder: '请选择是否关注', UiType: 2, must: true }
]

export const optList = {
  dangerLevel: [
    { code: '01', name: '高' },
    { code: '02', name: '中' },
    { code: '03', name: '低' }
  ],
  attention: [
    { code: 1, name: '是' },
    { code: 0, name: '否' }
  ]
}
